package com.hxzy.wx;

import com.codingapi.txlcn.tc.config.EnableDistributedTransaction;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.openfeign.EnableFeignClients;

/**
 * @Author wy
 * @Description 微信司机端
 * @Date 2023/12/14 11:00
 * @Version 1.0
 */
@EnableDiscoveryClient
@SpringBootApplication(scanBasePackages = {"com.hxzy.*"})
@EnableFeignClients(basePackages = {"com.hxzy.*"})
/**
 * 启用 tx-cln分布式的事务
 */
@EnableDistributedTransaction
public class WxDriverApplication {

    public static void main(String[] args) {
        SpringApplication.run(WxDriverApplication.class,args);
    }
}
